using Gtk;

namespace Ribbons {

	/** EventBox extended to transmit all events. */
	public class ExtraEventBox : EventBox {

		protected override bool event (Gdk.Event event) {
			if (event.any.window == this.window) {
				if (event.type != Gdk.EventType.EXPOSE) {
					if (this.child != null) {
						this.child.event (event);
					}
				}
			}
//			return base.event (event);	// XXX-GEETK
			return false;
		}
	}
}
